package org.msd.model;

import java.io.Serializable;

public class Order implements Serializable {
    /*
    订单的实体类
     */
    private int  orderid;//订单的id
    private int Ordersfogoods;//商品的id
    private String username;//订单的任务
    private double Orderprice;//订单的价格

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public double getOrderprice() {
        return Orderprice;
    }

    public int getOrderid() {
        return orderid;
    }

    public int getOrdersfogoods() {
        return Ordersfogoods;
    }

    public void setOrderprice(double orderprice) {
        Orderprice = orderprice;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public void setOrdersfogoods(int ordersfogoods) {
        Ordersfogoods = ordersfogoods;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderid=" + orderid +
                ", Ordersfogoods=" + Ordersfogoods +
                ", username='" + username + '\'' +
                ", Orderprice=" + Orderprice +
                '}';
    }
}
